@import url('//at.alicdn.com/t/font_2302058_vlqct61pvad.css');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins' sans-serif;
}

body{
    height: 100%;
    width: 100%;
    text-align: center;
    background: #f2f2f2;
}

.wrapper{
    display: grid;
    margin: 200px 90px auto;
    grid-gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

}
.wrapper .box {
    width: 350px;
    margin: 0 auto;
    position: relative;
    perspective: 1000px;
}

.wrapper .box .front-face{
    background-color: #fff;
    height: 220px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0px 5px 20px 0px rgba(0, 81, 250, 0.1);
    transition: all 0.5s ease;

}

.box .front-face .icon{
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.box .front-face .icon i{
    font-size: 65px;
    margin-bottom: 20px;
}
.box .front-face .icon span,
.box .back-face span{
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
}
.box .front-face .icon i,
.box .front-face span {
    background: -webkit-linear-gradient(-135deg, #c850c0, #4158d0);
	-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.box .back-face {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 1;
    height: 220px;
    width: 100%;
    padding: 30px;
    color: #fff;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    background: linear-gradient(-135deg, #c850c0, #4158d0);
    opacity: 0;
    transform: translateY(110px) rotateX(-90deg);
    transition: all 0.5s ease;
}


.box .back-face p{
    margin-top: 10px;
    text-align: justify;
}

.box:hover .back-face{
    opacity: 1;
    transform: rotateX(0deg);

}

.box:hover .front-face{
    opacity: 0;
    transform: translateY(-110px) rotateX(90deg);

}